package com.ruoyi.course.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 学生考试对象 s_exam
 *
 * @author ruoyi
 * @date 2024-12-03
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class SExam extends BaseEntity {

    /**
     * id
     */
    private Long id;

    /**
     * 学生ID
     */
    @Excel(name = "学生ID")
    private Long sId;

    /**
     * 在线测试ID
     */
    @Excel(name = "在线测试ID")
    private Long eId;

    /**
     * 是否交卷
     */
    @Excel(name = "是否交卷")
    private Long isSubmit;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 交卷时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "交卷时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date subTime;

    /**
     * 得分
     */
    @Excel(name = "得分")
    private Long score;

    /**
     * 总分
     */
    @Excel(name = "总分")
    private Long allScore;

    /**
     * 及格得分
     */
    @Excel(name = "及格得分")
    private Long pass;

    /**
     * 是否及格
     */
    @Excel(name = "是否及格")
    private Long isPass;

    /**
     * 是否批改
     */
    @Excel(name = "是否批改")
    private Long isMark;

    /**
     * 逻辑删除
     */
    @TableField(fill = FieldFill.INSERT)
    private Long deleteStatus;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;


    public Long geteId() {
        return eId;
    }

    public void seteId(Long eId) {
        this.eId = eId;
    }

    public Long getsId() {
        return sId;
    }

    public void setsId(Long sId) {
        this.sId = sId;
    }
}
